            <div class="ad-300x250">
				<script type="text/javascript"><!--
                google_ad_client = "pub-5224634849025908";
                /* 新版首屏右侧300x250, 创建于 11-9-5 */
                google_ad_slot = "0825459683";
                google_ad_width = 300;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>  
            </div>
            <!-- ad-300x250:END -->
            <div class="mod-box mod-teacher">
                <div class="mod-box-head">
                    <h4 class="title">本周推荐PS老师 </h4>
                </div>
                <div class="mod-box-body clearfix">
                    <span><a href="/member/index.php?uid=<?php echo $week_r_user['userid']?>" class="thumb"><img src='<?php echo $week_r_user['face']; ?>' onerror="this.src='/member/templets/images/dfgirl.png'"></a></span>
                    <div class="name">
                        <strong><a href="/member/index.php?uid=<?php echo $week_r_user['userid']?>"><?php echo $week_r_user['userid']; ?></a></strong><br/>
                        性别：<?php echo $week_r_user['sex']; ?><br/>
                        等级：<?php echo $week_r_user['membername']; ?><br/>
                    </div>
                    <div class="info">
                        用户积分：<?php echo $week_r_user['scores']; ?><br/>
                        发布教程数：<a href="/member/index.php?uid=<?php echo $week_r_user['userid']?>&action=archives"><?php echo $week_r_user['article']['t']; ?></a><br/>
                        <!-- 拥有学生数：0<br/ -->
                    </div>
                    <a href="/member/index.php?uid=<?php echo $week_r_user['userid']?>" class="more">进入空间</a>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- Teacher:END -->
            <div class="mod-box mod-ranking">
                <div class="mod-box-head">
                    <h4 class="title">投稿排行榜</h4>
                </div>
                <div class="mod-box-body clearfix">
                    <ol id="rankingList">
                    <?php foreach($art_desc as $key => $list): ?>
                    <?php if($key == 0): ?>
                    	<li class="show">
                    <?php else: ?>
                    	<li>
                    <?php endif; ?>
                    <a href='/member/index.php?uid=<?php echo $list['userinfo']['userid']; ?>' class='thumb'><img src='<?php echo $list['userinfo']['face']; ?>' onerror="this.src='/member/templets/images/dfgirl.png'" width='50px' height='35px'></a>
                    <span><?php echo $list['t']; ?>篇</span>
                    <a href='/member/index.php?uid=<?php echo $list['userinfo']['userid']; ?>'><?php echo $key+1; ?>： <?php echo $list['userinfo']['userid']; ?></a>
                    <?php endforeach;?>
                    {dede:sql sql="select *,count(mid) as t from ps_archives group by mid order by t desc limit 10"}
	                    [field:global runphp='yes' name=autoindex]
	                  	if (@me == 1) {
	                  		@me = '<li class="show">';
	                  	}else{
	                  	    @me = '<li>';
	                  	}
	                    [/field:global]

                        [field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,face,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$user['userid'] = 'admin';
                                	}
                                	if(empty($user['face'])){
                                		$user['face'] = "/member/templets/images/dfgirl.png";
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."' class='thumb'><img src='".$user['face']."' onerror=\"this.src='/member/templets/images/dfgirl.png'\" width='50px' height='35px'></a>";
                                [/field:mid]
                        <span>[field:t/]篇</span>[field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['uname'])){
                                		$username = $user['uname'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>";
                                [/field:mid][field:global name=autoindex/]： [field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['uname'])){
                                		$username = $user['uname'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = $username."</a>";
                                [/field:mid]</a>              
                        </li>
                    {/dede:sql}
                        
                    </ol>
                </div>
                <div class="mod-box-foot">
                    <a href="/member/article_add.php">我要投稿</a>
                </div>
            </div>
            <!-- Ranking:END -->
            <div class="download"><a href="http://www.23ps.com/download.htm"><img src="{dede:global.cfg_templets_skin/}/img/download.png" /></a></div>